<html>

	<head>
		<meta charset="UTF-8">
		<title>打印突发事件信息单</title>
		<link rel="stylesheet" type="text/css" href="../../../Themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../../../Themes/icon.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/demo.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/common.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/print.css">
		<script type="text/javascript" src="../../../JS/common.js"></script>
		<script type="text/javascript" src="../../../JS/jquery.min.js"></script>
		<script type="text/javascript" src="../../../JS/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="../../../JS/LogisticsShareFunction/PrintShareFunction.js"></script>
	</head>

	<body>
		<div class="div_print_info_portait">
			<h1 align="center">高水农副产品批发有限公司市管中心</h1>
			<h1 align="center">突发事件处理记录表</h1>
			<form id="ff" method="post">
				<table cellspacing="4" style="margin-top: 10px;margin-left: 0px;margin-bottom: 10px;">
				<tr>
					<td>编号</td>
				    <td>
				    	<input name="ORDER_NO" style="border: none;">
				    </td>
				</tr>
				</table>
			    <table cellpadding="4" class="altrowstable printtable">
				    <tr>
						<td width="15%">发生时间</td>
						<td width="20%">
							<input class="print_text_style" name="TIME" />
						</td>
						<td>值班经理</td>
						<td>
							<input class="print_text_style" name="PRINCIPAL"/>
						</td>
						<td>经办人</td>
						<td>
							<input class="print_text_style" name="OPERATOR" />
						</td>
						
					</tr>
					<tr style="display: none;">
						<td width="15%">发生门牌号</td>
						<td width="20%">
							<input class="print_text_style" name="HOUSE_NUMBER" />
						</td>
						<td width="15%">摊位编号</td>
						<td width="20%">
							<input class="print_text_style" name="BOOST_NO" />
						</td>
						<td>区域名称</td>
						<td>
							<input class="print_text_style" name="REGION_NAME" />
						</td>
						
					</tr>
					<tr>
						<!--<td>当事人</td>
						<td>
							<input class="print_text_style" name="PARTY"/>
						</td>-->
						<td >发现人</td>
						<td >
							<input class="print_text_style" name="DISCOVERER"/>
						</td>
					</tr>
					<tr>
						<td>情况说明</td>
						<td colspan="5">
							<input class="print_text_style" name="CONTEXT" style="width:100%;height:30px"/>
						</td>
					</tr>
					<tr>
						<td>处理结果</td>
						<td colspan="5">
							<input class="print_text_style" name="PROCESSED" style="width:100%;height:30px"/>
						</td>
					</tr>
					<tr>
						<td>处理方式及依据</td>
						<td colspan="5">
							<input class="print_text_style" name="PROCESSING" style="width:100%;height:30px"/>
						</td>
					</tr>
					
					<tr>
						<td>原因分析</td>
						<td colspan="5">
							<input class="print_text_style" name="REASON" style="width:100%;height:30px"/>
						</td>
					</tr>
					<tr>
						<td>备注</td>
						<td colspan="5">
							<input class="print_text_style" name="MEMO" style="width:100%;height:30px"/>
						</td>
					</tr>
				</table>
				<table id="OrderInforTable" class="altrowstable printtable" style="margin-top: 0px;">
					<tr>
						<th>
							<div>姓名</div>
						</th>
						<th>
							<div>人员类型</div>
						</th>
						<th>
							<div>备注</div>
						</th>
					</tr>
		        </table>
			</form>
		</div>
	</body>
	<script type="text/javascript">
		var id = getID();
		$(document).ready(function(){
			loadRemote()
		});
        function loadRemote() {
			$.ajax({
				type: "get",
				url: RemoteLinkAddress + "/market/emergency/findbyid.do?ID=" + id,
				dataType: "json",
				success: function(result) {
					getPrintFormData(result);
					var newTd = new Array();
					var _data = result.rows;
					for(var i = 0; i < _data.length; i++) {
						var newTr = OrderInforTable.insertRow();
						newTd[0] = newTr.insertCell()
						if(_data[i].NAME != undefined){
							newTd[0].innerText = _data[i].NAME;
						}
						newTd[1] = newTr.insertCell();
						if(_data[i].TENANT_TYPE != undefined){
							newTd[1].innerText = _data[i].TENANT_TYPE;
						}
						newTd[2] = newTr.insertCell();
						if(_data[i].MEMO != undefined){
							newTd[2].innerText = _data[i].MEMO;
						}
					}
				}
			});
		} 
	</script>

</html>